--------------------------------------------------------------------------------------------------
-- Set all Global variables up here...  Mostly this is to allow some kind soul to assist
-- with a future internationalisation effort... but it won't be me as English is the only
-- language I know :-)
--------------------------------------------------------------------------------------------------
LPS_DESC		= "Lysidia's Pack Sort";
LPS_Version		= format("%s - Version %s", LPS_DESC, LPS_VERS_NUM);

-- Command Definitions
LPS_CMD_HELP		= "help";
LPS_CMD_SORT		= "sort";
LPS_CMD_STYLE		= "style";
LPS_CMD_ORDER		= "order";
LPS_CMD_STATUS		= "status";
LPS_CMD_CONFIG		= "config";
LPS_CMD_AUTOSORT	= "autosort";

-- Command Options
LPS_OPTION_LOW		= "lowest";
LPS_OPTION_HIGH		= "highest";
LPS_OPTION_PRICE	= "price";
LPS_OPTION_NAME		= "name";

-- Messages
LPS_MSG_SORTMETHOD	= "Sorting %s first.";
LPS_MSG_SORTFAILED	= format("%s: Unable to sort at this time.",	LPS_DESC);
LPS_MSG_SORTSTART	= format("%s: Initiating Sort.",		LPS_DESC);
LPS_MSG_SORTCOMPLETE	= format("%s: Sort Complete.",			LPS_DESC);
LPS_MSG_AUTOSORTON	= format("%s: Automatic sorting enabled.",	LPS_DESC);
LPS_MSG_AUTOSORTOFF	= format("%s: Automatic sorting disabled.",	LPS_DESC);
LPS_MSG_SETDEFAULTS	= format("%s: Setting Default Options.",	LPS_DESC);

-- GUI Option Screen
LPS_GUITEXT_Header	= LPS_Version.." Options";
LPS_GUITEXT_None	= "None";
LPS_GUITEXT_Price	= "Vendor Sale Price";
LPS_GUITEXT_Name	= "Name";
LPS_GUITEXT_Trade	= "Tradeskill";
LPS_GUITEXT_Pack	= "Pack";
LPS_GUITEXT_iLevel	= "Item Level";
LPS_GUITEXT_Order	= "Sort Order";
LPS_GUITEXT_Low		= "Lowest First";
LPS_GUITEXT_High	= "Highest First";
LPS_GUITEXT_QuestSort	= "Quest Item Sort Bag";
LPS_GUITEXT_QS_None	= "None";
LPS_GUITEXT_Done	= "Done";
LPS_GUITEXT_Defaults	= "Defaults";

LPS_SLASH1		= "/lyspacksort";
LPS_SLASH2		= "/lps";

LPS_HELPCMD		= "|c00FFFFFF%s|r";

LPS_GUI_Packs		= {
			LPS_GUITEXT_None,
			"Backpack",
			LPS_GUITEXT_Pack.." 1",
			LPS_GUITEXT_Pack.." 2",
			LPS_GUITEXT_Pack.." 3",
			LPS_GUITEXT_Pack.." 4"
			};

LPS_GUI_SortTypes	= {
			LPS_GUITEXT_None,
			LPS_GUITEXT_Price,
			LPS_GUITEXT_Name,
			LPS_GUITEXT_Trade,
			LPS_GUITEXT_iLevel
			}

-- Help Text
LPS_HELP_TEXT0		= "---";
LPS_HELP_TEXT1		= format("%s command help:", 									LPS_Version);
LPS_HELP_TEXT2		= format("Use %s or %s to perform the following commands:-",	format(LPS_HELPCMD, LPS_SLASH1.." <command>"), format(LPS_HELPCMD, LPS_SLASH2.." <command>"));
LPS_HELP_TEXT3		= format("%s: Displays this help screen.",						format(LPS_HELPCMD, LPS_CMD_HELP));
LPS_HELP_TEXT4		= format("%s: Run a sort.",										format(LPS_HELPCMD, LPS_CMD_SORT));
LPS_HELP_TEXT5		= format("%s: Open configuration screen.",						format(LPS_HELPCMD, LPS_CMD_CONFIG));
LPS_HELP_TEXT6		= format("%s: Toggle automatic sorting.",						format(LPS_HELPCMD, LPS_CMD_AUTOSORT));
